package test;

public abstract class Pet {
    public String name;
    public String health;//健康health
    public int age;

    public Pet() {
    }

    public Pet(String name, String health, int age) {
        this.name = name;
        this.health = health;
        this.age = age;
    }

    abstract void eat();
    abstract void show();
}
